//
//  QuadTree.h
//  Assignment1Q3Q4
//
//  Created by LxL on 2012-10-17.
//
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "QuadNode.h"

@interface QuadTree : NSObject
{
    CGSize winSize;
    
}
@property (retain) QuadNode *root;



-(void) UpdateContent:(NSObject*) content;

//get list of objects that can posibly collide with given object
-(void) GetCollisionCandidatesOf:(NSObject*)content
                         inArray:(NSMutableArray **)candidates;

@end
